home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / packer / gzip-1.2.2 / todo < prev    next >
Encoding:
Text File  |  1993-06-12  |  2.4 KB  |  54 lines

  1. TODO file for gzip.
  2.  
  3. Some of the planned features include:
  4.  
  5. - Structure the sources so that the compression and decompression code
  6.   form a library usable by any program, and write both gzip and zip on
  7.   top of this library. This would ideally be a reentrant (thread safe)
  8.   library, but this would degrade performance. In the meantime, you can
  9.   look at the sample program zread.c.
  10.  
  11. - Make it convenient to define alternative user interfaces (in
  12.   particular for windowing environments).
  13.  
  14. - Support in-memory compression for arbitrarily large amounts of data
  15.   (zip currently supports in-memory compression only for a single buffer.)
  16.  
  17. - Map files in memory when possible, this is generally much faster
  18.   than read/write. (zip currently maps entire files at once, this
  19.   should be done in chunks to reduce memory usage.)
  20.  
  21. - Add a super-fast compression method, suitable for implementing
  22.   file systems with transparent compression. One problem is that the
  23.   best candidate (lzrw1) is patented twice (Waterworth 4,701,745
  24.   and Gibson & Graybill 5,049,881). The lzrw series of algorithms
  25.   are available by ftp in ftp.adelaide.edu.au:/pub/compression/lzrw*.
  26.  
  27. - Add a super-tight (but slow) compression method, suitable for long
  28.   term archives.  One problem is that the best versions of arithmetic
  29.   coding are patented (4,286,256 4,295,125 4,463,342 4,467,317
  30.   4,633,490 4,652,856 4,891,643 4,905,297 4,935,882 4,973,961
  31.   5,023,611 5,025,258).
  32.  
  33.   Note: I will introduce new compression methods only if they are
  34.   significantly better in either speed or compression ratio than the
  35.   existing method(s). So the total number of different methods should
  36.   reasonably not exceed 3. (The current 9 compression levels are just
  37.   tuning parameters for a single method, deflation.)
  38.  
  39. - Add optional error correction. One problem is that the current version
  40.   of ecc cannot recover from inserted or missing bytes. It would be
  41.   nice to recover from the most common error (transfer of a binary
  42.   file in ascii mode).
  43.  
  44. - Add a block size (-b) option to improve error recovery in case of
  45.   failure of a complete sector. Each block could be extracted
  46.   independently, but this reduces the compression ratio.
  47.  
  48. - Use a larger window size to deal with some large redundant files that
  49.   'compress' currently handles better than gzip.
  50.  
  51. - Implement the -e (encrypt) option.
  52.    
  53. Send comments to Jean-loup Gailly <jloup@chorus.fr>.
  54.